//
// Created by Martin on 2021/9/29.
//

#ifndef DESIGNPATTERN_CPP_CASHSUPER_H
#define DESIGNPATTERN_CPP_CASHSUPER_H

#include <string>

class CashSuper {
public:
    virtual ~CashSuper() = default;
    virtual double acceptCash(double money) = 0;
    std::string &getTitle();

protected:
    std::string title;
};


#endif //DESIGNPATTERN_CPP_CASHSUPER_H
